package com.warm.base.design.b_iterator;

/**
 * @Date: 2019/11/27 16:26
 * @Author: LChuang
 * @Description: 抽象的迭代，有判断结束和下一个，获取当前元素等函数
 */
public interface Iterator {
    public abstract boolean hasNext();
    public abstract Object next();
}
